package com.jintoufs.dao.tour;

import java.util.List;
import java.util.Map;

import com.jintoufs.dao.QueryFilters;
import com.jintoufs.domain.tour.TourRoute;
import com.jintoufs.domain.tour.TourRouteExample;
import org.apache.ibatis.annotations.Param;

public interface TourRouteMapper {
    int countByExample(TourRouteExample example);

    int deleteByExample(TourRouteExample example);

    int deleteByPrimaryKey(String id);

    int insert(TourRoute record);

    int insertSelective(TourRoute record);

    List<TourRoute> selectByExample(TourRouteExample example);

    TourRoute selectByPrimaryKey(String id);

    int updateByExampleSelective(@Param("record") TourRoute record, @Param("example") TourRouteExample example);

    int updateByExample(@Param("record") TourRoute record, @Param("example") TourRouteExample example);

    int updateByPrimaryKeySelective(TourRoute record);

    int updateByPrimaryKey(TourRoute record);

    List<Map<String,Object>> getByFilter(QueryFilters filters);

    List<Map<String,Object>> selectByParams(Map<String,Object> params);

    List<Map<String,Object>> queryByParams(Map<String,Object> params);

    List<Map<String, Object>> getTravelAgencyListByParams(Map<String, Object> params);

    List<Map<String,Object>> getTourRouteTypeInfo(Map<String,Object> params);

    Map<String,Object> getOnePrice(String tourId);
}